package com.sdy.healthcode.biz.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: 刘旭
 */

@Data
@Accessors(chain = true)
@ColumnWidth(20)
public class DoctorManDTO {

    /**
     * 医生id
     */
    @TableId
    @ExcelProperty(value = "ID" ,index = 0)
    private Integer id;

    /**
     * 医生姓名
     */
    @ExcelProperty(value = "医生姓名" ,index = 1)
    private String name;

    /**
     * 所在诊室
     */
    @ExcelProperty(value = "所在诊室" ,index = 2)
    private String department;

    /**
     * 所在医院
     */
    @ExcelProperty(value = "所在医院" ,index = 3)
    private String hospital;

    /**
     * 状态 1、可预约 2、长期停诊 3、停诊不显示 4、临时停诊
     */
    @ExcelProperty(value = "状态 " ,index = 4)
    private String suspendService;

    /**
     * 简介
     */
    @ExcelProperty(value = "简介",index = 5)
    private String introduction;

    /**
     * 照片路径
     */
    @ExcelProperty(value = "照片路径" ,index = 6)
    private String photoPath;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    @ExcelProperty(value = "更新时间" ,index = 7)
    private Date updateTime;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号" ,index = 8)
    private String phoneNumber;

    /**
     * 职称 0.初级 1.中级 2.副高级 3.正高级
     */
    @ExcelProperty(value = "职称" ,index = 9)
    private String professionalTitle;

    /**
     * 专家诊金
     */
    @ExcelProperty(value = "专家诊金" ,index = 10)
    private BigDecimal visitPrice;

}
